<?php
class Qc_processModel extends BaseModel
{
    var $table  = 'qc_process';
    var $prikey = 'process_id';
    var $_name  = 'qc_process';
    var $_relation = array(
		'belongs_process_order' => array(
			'model' => 'order',
			'type' => BELONGS_TO,
			'foreign_key' => 'order_id',
            'reverse'       => 'has_process',
		)
	);
}